package com.zt.questionnaire.common.enums;

/**
 * @Description: 问题的类型
 * @Author: funnywus
 * @Date: 2023/9/4 14:53
 */
public enum QuestionTypeEnum {

    ONE("choice", "单选题"),
    MORE("choice_multi", "多选题"),
    WRITE("fill", "单文本填空题"),
    DATE("date", "日期题"),
    SHOW("connect_page", "展示题，仅展示，不存储"),
    SCALE("scale", "量表题"),
    MORE_OPTIONAL_WRITE("fill_multi", "多条填空题(选填)"),
    ;

    private String code;
    private String desc;

    QuestionTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
